Update picture functionality