Added edit ad functionality