upgrade for Pebble SDK 2.0