creating/updating/deleting refs now works correctly
Cleanup + doc