Check if exists, if not, add it. If it exists, update it. Use ast to see if it is updatable & only has constants.