Save content to database