updated the sql data