add validation for updates, add jquery ui