update api to get properties