Now only define the n, s, e, w etc variables once per update