add date helper, update database controlers.