Add missing code to allow metadata updates to work

This PR allows a user to update the metadata of an image.

__Note:__ This will fully work once the entity mixins will be added to the article news. Also, the server API must handle the requests for the page and article entities.