update to do something when run