How do I save the database data