update sql from server