Update S3Sink.java