update status and publish when create product