Thanks for all the comments, very helpful. To clarify , I was always going to replace the joist with the same sizing due to aesthetics and will now look to add end brackets attached to the posts and also a steel bar across the middle , 1.5- 2m long and possibly 6mm thick. It may not last forever...