Changing database check