moved patron update related code to events framework