fix handler for update action