update value and streak in jarpersistence.java