update init.d script for mongo and update update-method