add save properties method