fixed a few issues with modlist not being emptied on update