modify publish command