updating matrix badge