added option to update from other branch than master