Update editing post to handle empty form submit values