update edit permission