func Update(username string, vault string) error {
	conn, err := redis.Dial("tcp", "localhost:6379")
	if err != nil {
		return err
	}
	defer conn.Close()
	_, err = conn.Do("HMSET", username, "vault", vault)
	if err != nil {
		return err
	}
	return nil
}
Update adds data to the DB
package redis
import (
	"github.com/gomodule/redigo/redis"
)