make changes to api sessions calls