Update sugar-web lib and implement activity.write