update prismatic joint