fixed date in upgrade