Updating GUI to work with updated API's