Ooops! Fixing a error in the ip update sql clause