added updating the photo after filter is applied