I don't know your database structure, so it is hard to determine what exactly needs to be updated.
I think you need to get back to the point where it shows the full list. That is what you need. Then we can work on getting the correct items selected in that list next. It is probably going to take two separate recordsets to pull off. The issue probably is that you are using one recordset for both and that is always only working for one piece or the other.