Added sudo permissions to updating