persist properties as well