doc update, bug fix on figname option