Made changes to how forms were echoed. added update publish button