update join plan