update database stuff a little