(master) corrected site creation/update API