update regexs for permissions