Fixed unnecessary updates due to port type mismatch