square apiDefintion update