sync meals with database