Speedup updates.sh using join

Suggested by @nponeccop

Closes #8

Signed-off-by: Nicola Squartini <tensor5@gmail.com>