added endpoint that can be queried via ajax to update the resolved status