updated log and edited popup