Refreshing model database