FINALLY figured out edit event issues