added date synchronization with frontend