Need help getting a form to work.

I an using a directory theme and am trying to move the custom field inputs to more logical places. I have the fields showing up and displaying the current content of the field but when I try and edit the changes are not saved.

I am using this:

<fieldset id="category-fields">

<div id="custom-fields">

<div class="form-field"><label>
<?php _e( 'YouTube (link)', APP_TD ); ?>
<input name="app_youtube" type="text" value="<?php echo esc_attr( $listing->app_youtube ); ?>" />
</label></div>

<div class="form-field"><label>
<?php _e( 'Google+ (link)', APP_TD ); ?>
<input name="app_googleplus" type="text" value="<?php echo esc_attr( $listing->app_googleplus ); ?>" />
</label></div>

<div class="form-field"><label>
<?php _e( 'Pinterest (link)', APP_TD ); ?>
<input name="app_pinterest" type="text" value="<?php echo esc_attr( $listing->app_pinterest ); ?>" />
</label></div>

</div>

</fieldset>

________________

This is the original code that pops up the custom fields that can be edited:

<?php
// if categories are locked display only the current listing category
if ( va_categories_locked() )
$listing_cat = $listing->category;
else
$listing_cat = array();
?>

<fieldset id="category-fields">
<div class="featured-head"><h3><?php _e( 'Listing type', APP_TD ); ?></h3></div>

<div class="form-field"><label>
<?php _e( 'Category', APP_TD ); ?>
<?php wp_dropdown_categories( array(
'taxonomy' => VA_LISTING_CATEGORY,
'hide_empty' => false,
'hierarchical' => true,
'name' => '_'.VA_LISTING_CATEGORY,
'selected' => $listing->category,
'show_option_none' => __( 'Select Category', APP_TD ),
'class' => 'required',
'orderby' => 'name',
'include' => $listing_cat
) ); ?>
</label></div>

<div id="custom-fields">
<?php
if ( $listing->category ) {
the_listing_files_editor( $listing->ID );

va_render_form( (int) $listing->category, $listing->ID );
}
?>
</div>