update mouse out logic