fix update SQL request