change dashboard logic