pass docId to method; closes #226
internal changes to make sure attributes are kept properly
bump version