update  categories 
set 
categories_image = '<@SDESCRIPTION@><@WGROUPID@><@EXT@>' ,
parent_id = 0 ,
sort_order = <@WSORTNO@> ,
last_modified = now()
where categories_id = <@KEY@>