edit histogram