update working and pagination