updated db and bgcolor