update functional diagram