update database model

"ActualMeal" has date and time attribute
Auto count down

js file add function