added validation for create/update list