make the refreshbans also database specific