Added edit bot function.