New method to update a 3D vector