update producer_consumer problem