backport from atig/atig#61
update docs