correct json posting
improve live update of position, still in progress