added rest methods for updating positions