updates get roles API call in settings