Changing database settings