added validation (account group is not allowed to be empty)
created validation for not having replicate group