save content function update
updates
added validator class