added new update method in every controller