Update Record.java

changes to set direction method