changes in work with database