update to xively 1.0.4 framework