change live function into on function
Merge pull request #2 from amanattou44/create_delete

change live function into on function