fix to the update action