Update declaration access mode