replaces an existing document on put
moves record store to model