functionality for editPromo

confession: very sloppy code