updating pub command