update navbar element