update added permissions to document module