Update Java Read, Write from file