updated the controllers