changes in database stuff