The wing back will remain at Easter Road until the summer of 2027 after agreeing to extend his stay in Leith