Updates motor movement file