better syncing of rego with tags