update lock for new format