update base64 decode