added missing update action in assignments controller