updated documentation
draft publish function, not deployed, documented or tested yet