update salt api to accept username