added delete method by query method to accessor, theme now on loads once and gets saved in the database appropriately