better object saving, actually save the object