correct update bugs