Updating badbank functions.