Stored procedure updated for monthly report