match column name for updatedAt and add createdAt column