Adjust database