found a solution to append new elements and not updating old ones.
example file updated for stackoverflow