Update the image meta file every time the image status is changed,

so that the rest api can get the latest information.