save to the database successfully