Updating image in acos.py