rebuild source for new add pattern