Use lock file to avoid multiple concurrent updates