up to 5.6 Saving data in the controller