Use date instead of string for updated_at and created_at and also add build model