fixed issue with setting related field values in MY_Model