Fixed weird viewTypeCount exception
Set synchro on update methods of DB manager