updating side panel