added update zip code, fixed glitch in night logic