new function to set the manual_publish flag based on the current auto_publish attribute then remove the aut_publish attribute and all checks of it