updateTime function in employee html basic