queue implementation in update process v1