Updates properties file.