CHANGED: Added dynamic updating of title