content: Update content_id after creating new content

Fixes #879