Update Preview.java