updated RDS to include update to SQL query and insert
fixing typo