update sidebar and remove photo