support 'long' type
update documents