switched to local ssh key, added batch mode to ssh commands, fixed offline update