lock with redis updated