updated db and gui