Cypress API update changed function name