updates with correct img reference