update calculate hours