forgot to prepare SQL in deletion: fixed. Updated table look of categories as well