updating hour log

Small refactoring