updating users and pagnation