sanitizing allowed keys for updates and more effectively adding list to listFactory on frontend