a few changes in database