update picturepath