Update selecta function as per readme