Added update action to edit form