Add date type to entity and add logs