added setName method to provider model class