split update controlle actions into different methods
change a few type names