API for editing wallet