fix update mechanism