update def