Updates devices to only return 5 most recent commands