Updated validations ruby