update apex and titanium