form validation is updated for edit stuff form