Update Fence.java