modified db name
added like ajax support