Fix create sql statement in updatepatientinfo