move change element function