function to update progress bar added here itself:
added custom right click menu to download