move all block calls for data model methods to main thread