added edit, delete and rendering video in index