creat event algo upgraded