if updates is empty cant do anything