Create multiple records according to new record in another table