improved install/update script

Signed-off-by: Patrick <support@flatcore.de>