added choice of whether to update or not