update dat, started working on popup preferences