Add  change database method