master: add modify_attempts