Multiplayer with HaxeFlixel and Udprotean

I’m trying to make a game with multiplayer for the first time, but how to do it better, I made an Update so that my fps is below 40. How can this be done in a more optimized way?

Hi and welcome,

could you please add more details what is not good at the moment ? otherwise its hard to help you
only thing that bothers me is that updates are sent on update that is triggered up to 60 times per second, do you really need it to be so often ?