[Core] Using exec to pull it's better (fixes #50).
Merge pull request #50 from hobbestigrou/50-fix_get_update

Fix get_update function.