basic live editing via replacing entire element content