Update localStudy.java

adding update to localStudy involves most written functions