update collapsed navbar