update some security configurations