change style for item and map