update viewrecorder.java