Inline content editing and saving to database