Update for using keyword 'key' as column name