How to change user role after subscription to supporter

Hi there,

I have just simple problem and I cant find answer on related forum posts.

I am using supporter plugin and after people sign in for a non paid subscription I would like to give them Author user role and after subscription to supporter they will get Editor. Any suggestion ?