#29 move update feature from pages controller to update controller