update of snapraid script