fixed updates handling bug