Inserting data for join table