setting the needsUpdate-flag when updating