fix image refreshing in D3
fix dialyzer warnings; update existing nodes instead of replacing them