Generify and update permission objects