update: fix == issue, add value check for hours