update sidebar content