working before refactor
basic pubCreate and pubUpdate working
redoing build