double ```if update```