Fixed bug in updating linkposts