updated mutex locks