Changes to stored proc. Still status updates outstanding + adding extra info thru popups.