Use correct method to save data.

Copy/paste error?