add action when node is moved