fixed bug in sparql update