add timer and upadte css