update navbar java