adding platform information to role