finalized CRUD for contents