updating after load