Updating history correctly (y)