update back and next links on components