added option to force overwriting of existing note