update date handle and layout