updated validations in register propety