changed serve to publish