collection should update id on update