improving edit and delete investments