Updated update process to function more reliably