Update base64encode bahavior