update date.lua