updating sidebar content