added update hours functionality