The model passes the id parameter to the controller to know if you are saving or updating a row. The save method of Controller_Data was wrong.