change access type