Update setProperty and getPropertiesToArray