update addcat query to not allow blank entries