Foxx Repository: replaceById