add updatedAt field to both models