converts string times to date objects in update page