remove unnecessary interface and add diagram img