some update and permission ruls prepare