Update Direction Layout: fix if statements