Search paging with mysql updates.