make it possible to save roles on fly