insert primary fn in upddpl