Updated to use version 3 of API
Updated workflow file