Assembly or disassembly of actin filaments by the addition or removal of actin monomers from a filament.