separated save and publish through the makeapi's 'published' flag