improve activity edition