update program is only run at zero second