finish web sql operation