update method is not working

error :