updated pagination samples