update java cookbook