make save methods thread safe