edit register and init policy