update access modifiers