Every year, we there are changes to the membership depending on the dues. I would like to use api to make changes to the membership variables through API. Is it possible to do that. What if new constituent never has a membership? I am not able to figure out the legacy_id. how can i get that for a new constituent ?