Added edited listener