fix code update preview upload image in .background