Fix updating elements after adding some new