fix modify method

fix modify method
allow mongo properties configuration