update interface and add map