getting a save point and saving it to db