Change API

Change ‘open’ to ‘pick’ and added ‘type’ param