Update artifact_type of plan table