Update Entity.java

Uses a long for the version