fixed generate relation method, adding break
added more data in seed