added edit functionality to address lookahead