update to pebble SDK 2.0 APIs