# Update or Remove Image Hashes and Databases

To update or remove an image hash use the following actions:

- To retrieve the training image from an image hash, use the action `GetImageHashImage`.
- To change the identifier of an existing image hash, use the action `RenameImageHash`.
- To change the label of the image associated with an image hash, use the action `RelabelImageHashImage`.
- To move an image hash to a different database, use the action `MoveImageHash`.
- To remove an image hash from a database and discard the training image, use the action `RemoveImageHash`.

To update or remove image hash databases, use the following actions:

- To rename a database, use the action `RenameImageHashDatabase`.
- To delete a database and all of the information that it contains, use the action `RemoveImageHashDatabase`.

For more information about the actions that you can use to train Media Server, refer to the Media Server Reference.

_FT_HTML5_bannerTitle.htm