Edit target functionality