bugfix wiping propterties file while adding/updating property