Updating the panel