update the permissions widget screenshot and some api doc