Add server validation for edit