add reload function which can be called manually