Updated store proc for classifications