added functionality for delete, update, and display challenges, but query statements don't work