updated some controllers and view