upated synchrinization of servlet