Check if update is needed