updating num of hours