database sql modification added