Change properties method