updated dashboard functionality