updating hours and local query