Updates to python and javascript client