Updates permissions