Update Server

add compass to decide the direction