Update correct time in appointments creation