refactor base64 method
refactor put method
refactor