saving links in db; Helper.asArray() revision