Update annotation styles function implementation.