Adding / updating custom fields / values to post

Hi Guys,

I am creating a post using this code -

$my_post = array(
					  'post_title'    => $_POST['post_title'],
					  'post_content'  => $_POST['post_content'],
					  'post_status'   => 'publish',
					  'post_author'   => $user_id,
					  'post_category' => array($_POST['category_id']),
					  'post_type'	  => 'goal',
					  'tax_input'	  => array('taxonomy'=>'goals-category')
					);

		$my_post_id = wp_insert_post( $my_post );

I want to add one more field - 'post_marked_status_by_user' , which I want to set '2' during creation of post , and '1' or '3' during updation of post .

Thanks