Faster online update and added option -d