update mocks definitions