Update next/prev function to an assignment tag; now it allows you to access all the attributes of the objects; ex: title and url