Update annotation attributes and patches modules