refresh the page after updating, add date picker