Update Mod Delete Function and some other variables