tutorial basic ja: update