add data when creating model record